<?php

class AjaxUserInformer_Form_Admin_Global extends Engine_Form {
	public function init() {
		$this->setMethod ( 'post' )->setAction ( Zend_Controller_Front::getInstance ()->getRouter ()->assemble ( array () ) );#->setAttrib('class', 'global_form_popup')
		
		
		$this->addElement ( 'Checkbox', 'onBeforeUserDelete', array ('label' => 'Email Goodbyes', 'description' => 'Do you want to send a goodbye email to users deleting their user account?' ) );
		#$this->style->getDecorator('Description')->setOption('placement', 'APPEND');
		

		$this->addElement ( 'Button', 'submit', array ('label' => 'Save Changes', 'type' => 'submit' ) );
	}
}